<?php
/**
 *  数据库的配置
 */
return [
    'default'=>[
        'dbhost'=>'127.0.0.1',
        'dbport'=>3306,
        'dbname'=>'elec',
        'dbuser'=>'elec',
        'dbpass'=>'elec.x',
        'charset'=>'utf8mb4',
        'size'=>4,

        # 是否在日志中记录SQL
        'log_sql'=>true,
    ]
];
